NDepend.API Documentation
EndsWithAny(String,String,String,String,String,String,String[]) Method
NDepend.Helpers Namespace > ExtensionMethodsString Class > EndsWithAny Method : EndsWithAny(String,String,String,String,String,String,String[]) Method
This string.
One of the possible end string for thisString.
One of the possible end string for thisString.
One of the possible end string for thisString.
One of the possible end string for thisString.
One of the possible end string for thisString.
An array containing possible end strings for thisString.
Gets a value indicating whether this string ends with case sensitive any of the strings specified.
Syntax
[Extension()]
public static bool EndsWithAny( 
   string thisString,
   string str0,
   string str1,
   string str2,
   string str3,
   string str4,
   params string[] array
)

Parameters

thisString
This string.
str0
One of the possible end string for thisString.
str1
One of the possible end string for thisString.
str2
One of the possible end string for thisString.
str3
One of the possible end string for thisString.
str4
One of the possible end string for thisString.
array
An array containing possible end strings for thisString.
Exceptions
ExceptionDescription
null string reference in array not accepted.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members
Overload List